package chapter_3;

public class Test10 {
    public static void main(String[] args) {
        int[] arr = new int[]{23,34,0,0,0,0,0};
        //89
        for (int i = 0; i < arr.length; i++) {
            if(arr[i] == 0){
                arr[i] = 89;
                break;
            }
        }
        for (int i : arr) {
            System.out.print(i+",");
        }
    }
}
